home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 86
/
(Vol 86) My Disc.iso
/
Games
/
restaurante_1141.swf
/
scripts
/
frame_3
/
DoAction.as
Wrap
Text File
|
2009-04-16
|
2KB
|
59 lines
if(copy_roof != undefined)
{
copy_roof.removeMovieClip();
}
if(copy_howto != undefined)
{
howto.removeMovieClip();
}
_root.score = 0;
_root.score_txt = 0;
time_start = 30;
_root.score = 0;
_root.current_level = 1;
_global.instruction = 0;
_root.ccc.duplicateMovieClip("zc",4000000);
_root.score = 0;
_root.score_txt = 0;
var i = 1;
while(i <= depth_value)
{
_root["uc" + i].removeMovieClip();
_root["b" + i].removeMovieClip();
i++;
}
_root.c4.removeMovieClip();
_root.levelup.removeMovieClip();
if(_root.ax != undefined)
{
_root.ax.removeMovieClip();
}
Key.removeListener(myListener);
sound_base = new Sound();
sound_base.attachSound("base.mp3");
sound_click = new Sound();
sound_click.attachSound("click.mp3");
sound_drop_all = new Sound();
sound_fail.attachSound("drop_all.mp3");
sound_drop1 = new Sound();
sound_fail.attachSound("drop1.mp3");
sound_drop2 = new Sound();
sound_fail.attachSound("drop2.mp3");
sound_drop3 = new Sound();
sound_fail.attachSound("drop3.mp3");
sound_gameover = new Sound();
sound_gameover.attachSound("gameover.mp3");
sound_mouseover = new Sound();
sound_mouseover.attachSound("mouseover.mp3");
sound_o = new Sound();
sound_o.attachSound("o.mp3");
sound_o = new Sound();
sound_o.attachSound("readygo.mp3");
sound_o = new Sound();
sound_o.attachSound("x.mp3");
sound_levelUp = new Sound();
sound_levelUp.attachSound("levelUp.mp3");
sound_ending = new Sound();
sound_ending.attachSound("ending.mp3");
sound_ready.attachSound("levelup_ready.mp3");